package com.duoec.magichour.service.impl;

import com.duoec.magichour.service.CaptchaService;
import org.springframework.stereotype.Service;

import java.io.OutputStream;

/**
 * Created by ycoe on 17/6/30.
 */
@Service
public class CaptchaServiceImpl implements CaptchaService {

    @Override
    public void captcha(OutputStream outputStream) {

    }

    @Override
    public boolean validate(String captcha) {
        return "1234".equals(captcha);
    }
}
